home *** CD-ROM | disk | FTP | other *** search
- -- background: 2630 from stack: in
- -- bmap block id: 2967
- -- flags: 4000
- -- background id: 0
- -- name:
-
-
- -- part 1 (field)
- -- low flags: 01
- -- high flags: 0002
- -- rect: left=49 top=94 right=139 bottom=166
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 229
- -- text size: 36
- -- style flags: 0
- -- line height: 48
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- put 1 into field id 1
- put 1 into field id 2
- put 1 into field id 3
- end mouseUp
-
-
- -- part 2 (field)
- -- low flags: 01
- -- high flags: 0002
- -- rect: left=196 top=94 right=139 bottom=310
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 229
- -- text size: 36
- -- style flags: 0
- -- line height: 48
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- put 0 into field id 1
- put 1 into field id 2
- put 0 into field id 3
- end mouseUp
-
-
- -- part 3 (field)
- -- low flags: 01
- -- high flags: 0002
- -- rect: left=344 top=94 right=139 bottom=465
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 229
- -- text size: 36
- -- style flags: 0
- -- line height: 48
- -- part name:
- ----- HyperTalk script -----
- on mouseUp
- beep 1
- put 24 into field id 1
- put 23 into field id 2
- get field id 1
- multiply it by field id 2
- put it into field id 3
- beep 1
- show card field id 7
- wait 5 seconds
- hide card field id 7
- end mouseUp
-
-
-
- -- part 8 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=11 top=289 right=313 bottom=160
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: NewSetOfEquations
- ----- HyperTalk script -----
- on mouseUp
- hide bkgnd button id 8
- ask "How many equations would you like to learn ?" with 25
- put it into howManyEquations
- if it >=100 then
- play boing
- put 25 into howManyEquations
- else
- if it <=100 then
- put it into howManyEquations
- end if
- end if
- ask "At what time sec-interval would you like to view them ?" with 3
- put it into viewTime
- if it >=10 then
- play boing
- put "Much too slow for proper sub-conscience impressions"
- wait 1 sec
- put 3 into viewTime
- else
- if it <=9 then
- put it into viewTime
- end if
- end if
- repeat with x = 1 to howManyEquations
- repeat x times
- put the random of 25 into field id 1
- put the random of 25 into field id 2
- get field id 1
- multiply it by field id 2
- put it into field id 3
- wait viewTime seconds
- end repeat
- end repeat
- show bkgnd button id 8
- end mouseUp
-
-
-
- -- part 9 (button)
- -- low flags: 80
- -- high flags: A003
- -- rect: left=176 top=289 right=313 bottom=325
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Clear the Set
- ----- HyperTalk script -----
- on mouseUp
- answer "Do you really want to delete all " & the number of cards - 1 & " cards?" with Cancel or Yes
- if it is "Cancel" then exit mouseUp
- set cursor to 4 -- wristwatch
- go to first card
- repeat for the number of cards
- if the short name of this card is "About"
- then go to next card
- else doMenu "Delete Card"
- end repeat
- set userlevel to 5
- doMenu "Compact Stack"
- set userlevel to 2
- set cursor to 1 -- browse tool
- end mouseUp
-
-
-
- -- part 10 (button)
- -- low flags: 80
- -- high flags: A003
- -- rect: left=342 top=289 right=313 bottom=491
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: The Tables
- ----- HyperTalk script -----
- on mouseUp
- show card field id 3
- wait 2 seconds
- hide card field id 3
- put empty into field id 1
- put empty into field id 2
- put empty into field id 3
- ask "What number do you want to begin with?" with 1
- put it into field id 2
- ask "How many tables would you like?" with 1
- put it into numberTables
- put 0 into holder
- repeat until numberTables = holder
- if field id 1 is empty then put 1 into field id 1
- get field id 1
- multiply it by field id 2
- put it into field id 3
- wait 2 seconds
- put field id 1 into temp1
- put field id 2 into temp2
- add 1 to temp1
- if field id 1 >= 25 then
- add 1 to holder
- add 1 to temp2
- put 1 into temp1
- doMenu "New Card"
- put temp1 into field id 1
- put temp2 into field id 2
- next repeat
- else
- doMenu "New Card"
- put temp1 into field id 1
- put temp2 into field id 2
- next repeat
- end if
- end repeat
- doMenu "Delete Card"
- end mouseUp
-
-